package com.example.demo.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_comment")
public class Comment {
    //主键
    @TableId(value = "id",type= IdType.AUTO)
    private Long id;
    //创建时间
    private Date createTime;
    //创建人
    private String createPerson;
    //更新时间
    private Date updateTime;
    //更新人
    private String updatePerson;
    //状态 1是0否
    private Integer status;
    //备注
    private String memo;
    //电影id
    private Long movieId;
    //用户id
    private String userId;
    //评论内容
    private String comment;
}
